//
//  ApplyDrivingCell.m
//  Cycling
//
//  Created by 迟国强 on 2023/3/28.
//

#import "ApplyDrivingCell.h"

@implementation ApplyDrivingCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.applyBtn.layer.cornerRadius = 27;
    self.applyBtn.layer.masksToBounds = YES;
    // Initialization code
}
- (IBAction)applyDriving:(UIButton *)sender {
    self.block(@"1212");
}

- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated{
    
    if (highlighted) {
        self.contentView.backgroundColor = COLOR_WHITE;
    }else{
        self.contentView.backgroundColor = COLOR_WHITE;
    }
    [super setHighlighted:highlighted animated:animated];
}

@end
